package com.iolo.flinklog.entity;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 权限 (TPermit)表实体类
 *
 * @author fengxinxin
 * @since 2021-04-02 15:03:41
 */
@SuppressWarnings("serial")
public class TPermit extends Model<TPermit> {
    //权限ID
    private Long permitId;
    //权限编号
    private String permitCode;
    //权限名称
    private String permitName;
    //权限描述
    private String permitRemark;
    //权限类型 1-菜单 2-按钮
    private Long permitType;
    //创建人
    private String createdBy;
    //创建时间
    private Date createdTime;
    //更新人
    private String updatedBy;
    //更新时间
    private Date updatedTime;


    public Long getPermitId() {
        return permitId;
    }

    public void setPermitId(Long permitId) {
        this.permitId = permitId;
    }

    public String getPermitCode() {
        return permitCode;
    }

    public void setPermitCode(String permitCode) {
        this.permitCode = permitCode;
    }

    public String getPermitName() {
        return permitName;
    }

    public void setPermitName(String permitName) {
        this.permitName = permitName;
    }

    public String getPermitRemark() {
        return permitRemark;
    }

    public void setPermitRemark(String permitRemark) {
        this.permitRemark = permitRemark;
    }

    public Long getPermitType() {
        return permitType;
    }

    public void setPermitType(Long permitType) {
        this.permitType = permitType;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.permitId;
    }
}
